package com.risk.ctrl.entity.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

@Data
@ConfigurationProperties(prefix = "req")
@Component
public class ReqProperty implements Serializable {
    private static final long serialVersionUID = 1526437497132578470L;

    private Limit limit;

    private List<String> include;

    @Data
    public static class Limit implements Serializable {
        private static final long serialVersionUID = 1526437497132578470L;
        private Long time;
    }
}
